home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / perl5 / IO::Seekable.z / IO::Seekable
Encoding:
Text File  |  1998-10-30  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. IIIIOOOO::::::::SSSSeeeeeeeekkkkaaaabbbblllleeee((((3333))))                                                IIIIOOOO::::::::SSSSeeeeeeeekkkkaaaabbbblllleeee((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      IO::Seekable - supply seek based methods for I/O objects
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.          use IO::Seekable;
  13.          package IO::Something;
  14.          @ISA = qw(IO::Seekable);
  15.  
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      IO::Seekable does not have a constuctor of its own as is intended to be
  19.      inherited by other IO::Handle based objects. It provides methods which
  20.      allow seeking of the file descriptors.
  21.  
  22.      If the C functions _f_g_e_t_p_o_s() and _f_s_e_t_p_o_s() are available, then
  23.      IO::File::getpos returns an opaque value that represents the current
  24.      position of the IO::File, and IO::File::setpos uses that value to return
  25.      to a previously visited position.
  26.  
  27.      See the _p_e_r_l_f_u_n_c manpage for complete descriptions of each of the
  28.      following supported IO::Seekable methods, which are just front ends for
  29.      the corresponding built-in functions:
  30.  
  31.          seek
  32.          tell
  33.  
  34.  
  35. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  36.      the _p_e_r_l_f_u_n_c manpage, the section on _I/_O _O_p_e_r_a_t_o_r_s in the _p_e_r_l_o_p manpage,
  37.      the _I_O::_H_a_n_d_l_e manpage the _I_O::_F_i_l_e manpage
  38.  
  39. HHHHIIIISSSSTTTTOOOORRRRYYYY
  40.      Derived from FileHandle.pm by Graham Barr <bodg@tiuk.ti.com>
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.